# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Ivan Shapovalov <intelfx100@gmail.com>

pkgname=python-pymacaroons
pkgver=0.13.0
pkgrel=11

pkgdesc='Python implementation of Macaroons. They’re better than cookies!'
url='https://github.com/ecordell/pymacaroons'
arch=('any')
license=('MIT')

depends=('python'
         'python-pynacl'
         'python-six')
makedepends=('python'
             'python-setuptools')

conflicts=('python-pymacaroons-pynacl')

source=("pymacaroons-$pkgver.tar.gz::https://github.com/ecordell/pymacaroons/archive/v$pkgver.tar.gz")

sha256sums=('780c67643126afe56f57fdc0f82b952d08e01a4df7eefaa929766dfb6edf6580')

build() {
	cd "$srcdir"/pymacaroons-$pkgver
	python setup.py build
}

package() {
	cd pymacaroons-$pkgver
	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :
